{% extends "base.html" %}
{% load i18n %}
{% load comments %}
{% load account socialaccount %}
{% block head %}
  {% include 'banner.html' %}
{% endblock %}

{% block content %}
{{info}}
			{% for i in wz_lb %}
			  <article class="excerpt excerpt-5">
				<header><a class="cat" href="program">{{ i.wzfenlei }}<i></i></a>
				  <h2><a href="/read/?id={{ i.id }}" title="">{{ i.title }}</a></h2>
				</header>
				<p class="meta">
					<span class="views"><i class="glyphicon glyphicon-eye-open"></i> 作者{{ i.user }}</span>
				  <time class="time"><i class="glyphicon glyphicon-time"></i> {{ i.created_time }}</time>
				  <span class="views"><i class="glyphicon glyphicon-eye-open"></i>阅读人次{{ i.views }}</span>


				<p class="note">  </p>
			  </article>
			{% endfor %}

<!--   分页 -->
 <article class="excerpt excerpt-5">
	   {% if wz_lb.has_previous %}
	            <a href="?page={{ wz_lb.previous_page_number }}">上一页</a>
	        {% endif %}
	   {% if wz_lb.number %}
	        当前第 {{ wz_lb.number }}页/ 共   {{ wz_lb.paginator.num_pages }} 页
	   {% endif %}
	   {% if wz_lb.has_next %}
	              <a href="?page={{ wz_lb.next_page_number }}">下一页</a>
	  {% endif %}
 </article>


{% endblock %}

{% block right %}
{% include 'right.html' %}
{%  endblock %}